package org.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.springboot.common.entity.BaseEntity;

/**
 * 待执行任务表
 *
 * @author Fz
 * @since 1.0.0 2024-02-26
 */
@EqualsAndHashCode(callSuper = false)
@Data
@TableName("pending_tasks")
public class PendingTasks extends BaseEntity {

    @Column(name = "mqtt_content", comment = "要发出的mqtt消息", type = MySqlTypeConstant.TEXT)
    private String mqttContent;

    @Column(name = "sort", comment = "执行顺序", length = 5,type = MySqlTypeConstant.INT)
    private Integer sort;


}